home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / DJGAS138.ARJ / GAS1381.DIF < prev    next >
Text File  |  1992-04-13  |  4KB  |  96 lines

  1. diff -c2 +recursive orig/gas-1.38/changelo gas-1.38/changelo
  2. *** orig/gas-1.38/changelo      Sun Mar 29 18:28:06 1992
  3. --- gas-1.38/changelo   Sun Mar 29 18:29:46 1992
  4. ***************
  5. *** 1,2 ****
  6. --- 1,6 ----
  7. + Sun Mar 29 13:27:00 EST 1992  DJ Delorie (dj@ctron.com
  8. +       * struc-symbol.h  Use aoutgnu.h for MS-DOS.
  9.   Fri Jan  4 12:48:22 EST 1991  Jay Fenlason (hack@ai.mit.edu)
  10.   
  11. diff -c2 +recursive orig/gas-1.38/configur.bat gas-1.38/configur.bat
  12. *** orig/gas-1.38/configur.bat  Sat Mar 28 18:22:54 1992
  13. --- gas-1.38/configur.bat       Sat Mar 28 18:33:52 1992
  14. ***************
  15. *** 0 ****
  16. --- 1,33 ----
  17. + @echo off
  18. + echo Configuring gas-1.38.1 for go32
  19. + rem This batch file assumes a unix-type "sed" program
  20. + echo # Makefile generated by "configure.bat"> Makefile.dos
  21. + echo all.dos: a386>> Makefile.dos
  22. + if exist config.sed del config.sed
  23. + echo "s/:f/: \$/g                                     ">> config.sed
  24. + echo "s/^DEFAULT_GAS/#DEFAULT_GAS/                    ">> config.sed
  25. + echo "s/^#DEFAULT_GAS=a386/DEFAULT_GAS=a386/          ">> config.sed
  26. + echo "s/# -DNON_BROKEN_WORDS/-DNON_BROKEN_WORDS/      ">> config.sed
  27. + echo "s/# -DSIGTY/-DSIGTY/                            ">> config.sed
  28. + echo "s/a\.out\.gnu\.h/aoutgnu\.h/g                   ">> config.sed
  29. + echo "s/a\.out\.coff\.h/aoutcoff\.h/g                 ">> config.sed
  30. + echo "s/flonum-const/fn-const/g                               ">> config.sed
  31. + echo "s/flonum-copy/fn-copy/g                         ">> config.sed
  32. + echo "/       $(CC) @a386.rf/d                                ">> config.sed
  33. + echo "/^a386[         ]*:/,/-o/ {                             ">> config.sed
  34. + echo "  s/\\\"/\"/g                                   ">> config.sed
  35. + echo "  s/    \$(CC)/ >a386.rf/                       ">> config.sed
  36. + echo "  /-o/ a\                                               ">> config.sed
  37. + echo "        $(CC) @a386.rf                                  ">> config.sed
  38. + echo "}                                                       ">> config.sed
  39. + sed -e "s/^\"//" -e "s/\"$//" -e "s/[         ]*$//" config.sed > config2.sed
  40. + sed -f config2.sed Makefile >> Makefile.dos
  41. + copy makefile.dos makefile
  42. + del makefile.dos
  43. + del config.sed
  44. + del config2.sed
  45. diff -c2 +recursive orig/gas-1.38/output-f.c gas-1.38/output-f.c
  46. *** orig/gas-1.38/output-f.c    Sat Mar 28 18:55:10 1992
  47. --- gas-1.38/output-f.c Sat Mar 28 18:56:00 1992
  48. ***************
  49. *** 28,31 ****
  50. --- 28,37 ----
  51.   #include <stdio.h>
  52.   
  53. + #ifndef __MSDOS__
  54. + #define BINARY_FOPEN_W        "w"
  55. + #else
  56. + #define BINARY_FOPEN_W        "wb"
  57. + #endif
  58.   void  as_perror();
  59.   
  60. ***************
  61. *** 39,43 ****
  62.     if(name[0]=='-' && name[1]=='\0')
  63.       stdoutput=stdout;
  64. !   else if ( ! (stdoutput = fopen( name, "w" )) )
  65.       {
  66.         as_perror ("FATAL: Can't create %s", name);
  67. --- 45,49 ----
  68.     if(name[0]=='-' && name[1]=='\0')
  69.       stdoutput=stdout;
  70. !   else if ( ! (stdoutput = fopen( name, BINARY_FOPEN_W )) )
  71.       {
  72.         as_perror ("FATAL: Can't create %s", name);
  73. diff -c2 +recursive orig/gas-1.38/struc-sy.h gas-1.38/struc-sy.h
  74. *** orig/gas-1.38/struc-sy.h    Sat Mar 28 18:43:26 1992
  75. --- gas-1.38/struc-sy.h Sat Mar 28 18:44:02 1992
  76. ***************
  77. *** 19,23 ****
  78. --- 19,27 ----
  79.   
  80.   #ifndef               VMS
  81. + #ifndef               __MSDOS__
  82.   #include "a.out.gnu.h"                /* Needed to define struct nlist. Sigh. */
  83. + #else
  84. + #include "aoutgnu.h"
  85. + #endif
  86.   #else
  87.   #include "a_out.h"
  88.